<template>
  <div>
    <h1>模拟-前端路由</h1>
    <a href="#/home">首页</a>
    <a href="#/movie"></a>
    <a href="#/about">关于</a>
    <component :is="comName"></component>
  </div>
</template>

<script>
export default {
  data() {
    return {
      comName: "",
    };
  },
  components: {
    
  },
  
};
</script>

<style>
</style>
